package com.xj.common.sdk.bean.mqtt;

/**
 * @ClassName : MqttQos
 * @Description : mqtt qos枚举
 * @Author : Alan
 * @Date: 2020-09-08 14:39
 */
public enum MqttQosEm {


    QOS_0(0,"最多一次"),
    QOS_1(1,"至少一次"),
    QOS_2(2,"只有一次")


    ;

    private int code;
    private String desc;
    MqttQosEm(int code, String desc){
        this.code = code;
        this.desc = desc;
    }

    public int getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }
}
